package org.example.travel_web.dto.sysUser;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(title = "用户请求")
public class SysUserReq {
    @Schema(description = "用户id")
    private Long id;
    @Schema(description = "用户昵称")
    private String nickname;
    @Schema(description = "用户账号")
    @NotBlank(message = "用户账号不能为空")
    private String username;
    @Schema(description = "用户密码")
    @NotBlank(message = "用户密码不能为空")
    private String password;
}
